from datetime import datetime

from app.schema.base import InfoSchema, RespDetailSchema
from uuid import uuid4

class ChatInfoSchema(InfoSchema):
    user_id: int=None
    group_id: int=None
    ai_id: int=None
    last_msg_id: int=None

class ChatDetailSchema(ChatInfoSchema):
    created_time: datetime
    updated_time: datetime

class ChatRespDetailSchema(RespDetailSchema):
    detail: ChatDetailSchema = None
